/**
 * 
 */
package com.pluginsacceptor.plugin.formula.datetime;

import java.util.Date;

/**
 * Creates a service interface for all date time functions implementation
 * @author ANAS
 *
 */
public interface DateTimeAPI {
	
	/**
	 * Gets the month part of a given date (2012-12-6 == Decembre)in String format .
	 * @param date
	 * @return the month in string format
	 */
	public String getMonth(Date date);
	
	/**
	 * Gets the month value of a given date (2012-12-6 == 12)in integer format .
	 * @param date
	 * @return the integer month value of a given date
	 */
	public int getMonthValue(Date date);
	
	/**
	 * Gets the day of Month a given date (2012-12-6 == Decembre)in String format .	
	 * @param date
	 * @return
	 */
	public int getDayOfTheMonth(Date date);
	
	public int getYear(Date date);
	
	public String getWeekDay(Date date);
	
	public int getTheDayOfTheYear(Date date);
	
	
	public int getMinute(Date dateTime);
	
	public int getHour24(Date dateTime);
	
	public int getHour12(Date dateTime);
	
	public int getSecond(Date dateTime);

}
